Platform Explorer / Nuxeo Platform 11.4

Contribution org.nuxeo.ecm.localconf.contentview--widgets

This contribution is part of XML component org.nuxeo.ecm.localconf.contentview inside nuxeo-localconf-web-11.4.jar /OSGI-INF/local-configuration-content-view.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

2
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="content_view_selection" type="list">
          <labels>
            <label mode="any">label.local.configuration.content.view.contentViewSelection</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>cvconf:cvNamesByType</field>
          </fields>
          <properties mode="any">
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="complexListItem" type="complex">
              <labels>
                <label mode="any"/>
              </labels>
              <fields>
                <field/>
              </fields>
              <properties mode="any">
                <property name="hideSubLabels">true</property>
                <property name="display">inline</property>
              </properties>
              <subWidgets>
                <widget name="docType" type="selectOneMenu">
                  <fields>
                    <field>docType</field>
                  </fields>
                  <labels>
                    <label mode="any"/>
                  </labels>
                  <selectOptions>
                    <options itemLabel="#{docType.label}" itemValue="#{docType.value}" value="#{contentViewConfigurationActions.availableDocTypes}" var="docType"/>
                  </selectOptions>
                </widget>
                <widget name="contentView" type="selectOneMenu">
                  <fields>
                    <field>contentView</field>
                  </fields>
                  <labels>
                    <label mode="any"/>
                  </labels>
                  <selectOptions>
                    <options itemLabel="#{contentView.label}" itemValue="#{contentView.value}" value="#{contentViewConfigurationActions.availableContentViews}" var="contentView"/>
                  </selectOptions>
                </widget>
              </subWidgets>
            </widget>
          </subWidgets>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="content_view_selection" type="list">
      <labels>
        <label mode="any">label.local.configuration.content.view.contentViewSelection</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>cvconf:cvNamesByType</field>
      </fields>
      <properties mode="any">
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="complexListItem" type="complex">
          <labels>
            <label mode="any"/>
          </labels>
          <fields>
            <field/>
          </fields>
          <properties mode="any">
            <property name="hideSubLabels">true</property>
            <property name="display">inline</property>
          </properties>
          <subWidgets>
            <widget name="docType" type="selectOneMenu">
              <fields>
                <field>docType</field>
              </fields>
              <labels>
                <label mode="any"/>
              </labels>
              <selectOptions>
                <options itemLabel="#{docType.label}" itemValue="#{docType.value}" value="#{contentViewConfigurationActions.availableDocTypes}" var="docType"/>
              </selectOptions>
            </widget>
            <widget name="contentView" type="selectOneMenu">
              <fields>
                <field>contentView</field>
              </fields>
              <labels>
                <label mode="any"/>
              </labels>
              <selectOptions>
                <options itemLabel="#{contentView.label}" itemValue="#{contentView.value}" value="#{contentViewConfigurationActions.availableContentViews}" var="contentView"/>
              </selectOptions>
            </widget>
          </subWidgets>
        </widget>
      </subWidgets>
    </widget>

  </extension>